#include <stdio.h>
#include <string.h>
using namespace std;

bool judgeCircle(char *moves);

int main(void)
{
    char *input = (char *)"RLUD";

    bool result = judgeCircle(input);

    printf("%s\n", result ? "true" : "false");

    getchar();
    getchar();
}